<template>
  <div>
    <div style="height: auto">
      <iframe
        id="bdIframe"
        frameborder="0"
        scrolling="yes"
        style="background-color:transparent; position：absolute;width: 100%;
         height:100%; top: 0;left:0;bottom:0;"
        src="../../../public/preview/technicalDocument.html"
      ></iframe>
    </div>
  </div>
</template>
<script lang="ts" setup>
// let url = ref("/admin/index.html");
// import {  } from "../../../public/admin/index.html";
import { onMounted } from "vue";

onMounted(() => {
  const oIframe = document.getElementById("bdIframe");
  const deviceHeight = document.documentElement.clientHeight;
  oIframe.style.height = Number(deviceHeight) - 120 + "px"; //数字是页面布局高度差
});
</script>
<style lang="scss" scoped></style>
